<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>

    <%@include file="/include.jsp" %>
    <script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
    <%--<style>
        body{font-family:"微软雅黑";padding-top:10px;margin:0px;}
    </style>--%>
</head>
<body>
<form action="" name="userForm">
<div>
    <!--tab-->
    <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
        <li  class="active" role="presentation" style="width:120px;">
            <a href="javascript:void(0)" id="tabTitle" >采购计划详情</a>
        </li>
    </ul>
    <input type="hidden" value="<%=basePath %>" id="path">
    <!--datagrid-->
    <div class="table-responsive" style="overflow-y:hidden">
        <table class="table table-striped" >
            <tbody>
            <tr>
                <td>报价截止时间：<input type="text" class="Wdate form-control input-sm"  name="modDateMin" id="modDateMin" ></td>
                <td>订单编号：<input type="text" name="purchapplyid"></td>
                <td>userUuid：<input type="text" name="userUuid"></td>
            </tr>

            <tr>
                <td>申请单位：<input type="text" name="createuserdeptid"></td>
                <td>单据编号：<input type="text" name="billnumber"></td>
                <td>申请人:<input type="text" name="createuser"></td>
            </tr>

            <tr>
                <td>签发人:<input type="text" name="createuser"></td>
                <td>申请日期：<input type="text"  class="Wdate form-control input-sm"  name="writedate"></td>
                <td>交货时间：<input type="text"   class="Wdate form-control input-sm"  name="jhtime" >
                    至<input type="text" class="Wdate form-control input-sm"  name="jhtime2"></td>
            </tr>

            <tr>
                <td>煤种：<input type="text" name="coaltype"></td>
                <td>采购数量：<input type="text" name="qty">(万吨)</td>
                <td>运输方式：<input type="text" name="yunshuMode"></td>
            </tr>

            <tr>
                <td>交货地点：<input type="text" name="jiaohuoMode"></td>
                <td>结算方式：<input type="text" name="jiesuanMode"></td>
                <td>验收方式：<input type="text" name="yanshouMode"></td>
            </tr>

            <tr>
                <td>最高限价：<input type="text" name="maxlimitprice">(元/卡.吨)</td>
                <td>最低限价：<label>暂无</label>(元/卡.吨)</td>
                <td></td>
            </tr>

            <tr>
                <td>限价说明：<input type="text" name="maxremark"></td>
            </tr>

            <tr>
                <td>结算付款方式：<input type="text" name="paymode"></td>
            </tr>

            <tr>
                <td>报价保证金缴纳：<input type="radio"  name="baozhengjin">不要求<input type="radio"  name="baozhengjin">要求  元/吨</td>
                <td>覆约保证金缴纳：<input type="radio"  name="baozhengjin1">不要求<input type="radio"  name="baozhengjin1">要求  元/吨</td>
            </tr>
            </tbody>
        </table>
    </div>

</div>

<div>
    <!--tab-->
    <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
        <li  class="active" role="presentation" style="width:120px;">
            <a href="javascript:void(0)" id="tabTitle" >煤质要求</a>
        </li>
    </ul>
    <input type="hidden" value="<%=basePath %>" id="path">
    <!--datagrid-->
    <div class="table-responsive" style="overflow-y:hidden">
        <table class="table table-striped" >
            <tbody>
            <tr>
                <h5>收到基准</h5>
            </tr>

            <tr>
                <td>收到基低位发热量Qnet,ar≥：<input type="text" name="type1">(KCal/kg)</td>
                <td>收到基全硫St,ar≤：<input type="text" name="type4">(%)</td>
                <td>全水分M≤：<input type="text" name="type2">(%)</td>
            </tr>

            <tr>
                <td>收到基灰分Aar≤：<input type="text" name="type6">(%)</td>
                <td>收到基挥发分：<input type="text" name="type3">(%)至<input type="text" name="type32">(%)</td>
            </tr>
            <tr>
                <h5>空气干燥基基准</h5>
            </tr>

            <tr>
                <td>空干基水分Mad≤：<input type="text" name="kgj1">(%)</td>
                <td>空干基全硫St，ad≤：<input type="text" name="kgj2">(%)</td>
                <td>空干基挥发分Vad：<input type="text" name="kgj3">(%)至<input type="text" name="kgj4">(%)</td>
            </tr>

            <tr>
                <td>
                    <h5>干基基准</h5>
                </td>
            </tr>

            <tr>
                <td>干基高位发热量Qgr,d≥：<input type="text" name="type11">(KCal/kg)</td>
                <td>干基全硫St,d≤：<input type="text" name="type14">(%)</td>
                <td>干燥无灰基挥发分：<input type="text" name="type3">(%)至<input type="text" name="type32">(%)</td>
            </tr>

            <tr>
                <td>粒度(mm)≤：<input type="text" name="type8"></td>
                <td>灰熔点ST('C)≥：<input type="text" name="type5"></td>
                <td>哈式可磨系数(HGI)≥：<input type="text" name="type7"></td>
            </tr>

            <tr>
                <td>备注：</td>
                <td><input type="text" name="remark"></td>
            </tr>
            </tbody>
        </table>
    </div>

</div>
    <input type="button" value="添加订单" onclick="add()">
    <input type="button" value="保存订单" onclick="add1()">
</form>


<script type="text/javascript">
    function add() {
        var form = document.forms[0];
            form.action = "<%=basePath %>insertTFultbpurchasingapply";
        form.method = "post";
        form.submit();
    }
    function add1() {
        var form = document.forms[0];
        form.action = "<%=basePath %>insertTFultbpurchasingapply?id=1";
        form.method = "post";
        form.submit();
    }
</script>
</body>



</html>
